/**
 * @see [description](https://mp.weixin.qq.com/debug/wxadoc/dev/api/checkIsSupportSoterAuthentication.html)
 */
export default function check_is_support_soter_authentication() {
	return new Promise<{
		supportMode: Array<'fingerPrint' | 'facial' | 'speech'>;	// 该设备支持的可被SOTER识别的生物识别方式
		errMsg: string;												// 接口调用结果
	}>((resolve, reject) => {
		wx.checkIsSupportSoterAuthentication({
			fail(res) {
				reject(res);
			},
			success(res) {
				resolve(res);
			}
		});
	});
}
